package cn.kgc.dao.impl;

import cn.kgc.dao.UserDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 *  <bean id="userDao" class="cn.kgc.dao.impl.UserDaoImpl"></bean>
 * @Component("userDao")
 */
@Repository("userDao")
public class UserDaoImpl implements UserDao {
    public void addUser() {
        System.out.println("保存用户成功");
    }
}
